home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-04-02 | 1.4 KB | 40 lines | [TEXT/CCL2] |
- ; In Library;loop.lisp, replace the mapc (it's the first mapc in the file)
- ; with the following. The change consists of replacing simple-string-length
- ; and string-length (one each) with length.
-
- ;;;; Setup stuff
-
-
- (mapc #'(lambda (x)
- (mapc #'(lambda (y)
- (setq loop-path-keyword-alist
- (cons `(,y loop-sequence-elements-path
- (of in from downfrom to downto
- below above by)
- ,@(cdr x))
- (delete (loop-tassoc
- y loop-path-keyword-alist)
- loop-path-keyword-alist
- :test #'eq :count 1))))
- (car x)))
- '( ((element elements) elt length sequence)
- ;The following should be done by using ELEMENTS and type dcls...
- ((vector-element
- vector-elements
- array-element ;; Backwards compatibility -- DRM
- array-elements)
- aref length vector)
- ((simple-vector-element simple-vector-elements
- simple-general-vector-element simple-general-vector-elements)
- svref simple-vector-length simple-vector)
- ((bits bit bit-vector-element bit-vector-elements)
- bit bit-vector-length bit-vector bit)
- ((simple-bit-vector-element simple-bit-vector-elements)
- sbit simple-bit-vector-length simple-bit-vector bit)
- ((character characters string-element string-elements)
- char length string string-char)
- ((simple-string-element simple-string-elements)
- schar length simple-string string-char)
- )
- )
-